﻿<Window x:Class="HttpLoadBalancer.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:HttpLoadBalancer"
        mc:Ignorable="d"
        Title="Load testing" Height="500" Width="550">
    <Grid Margin="0,0,2,-9">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="20*"/>
            <ColumnDefinition Width="27*"/>
            <ColumnDefinition Width="132*"/>
        </Grid.ColumnDefinitions>
        <Button x:Name="button" Content="Run" HorizontalAlignment="Stretch"                  Margin="91,81,175,100" VerticalAlignment="Top" Width="100" Click="button_Click" Grid.Column="2"/>
        <Button x:Name="btnCheckResult" Content="Check Result" HorizontalAlignment="Stretch" Margin="91,131,175,0" VerticalAlignment="Top" Width="100" Click="btnCheckResult_Click" Grid.Column="2"/>
        <TextBox  x:Name="tbResult" HorizontalAlignment="Stretch"  Margin="30,183,37,0" ScrollViewer.CanContentScroll="True" ScrollViewer.HorizontalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollBarVisibility="Visible"  TextWrapping="Wrap" Text="" VerticalAlignment="Top" Height="228" Grid.ColumnSpan="3"/>
        <TextBox x:Name="tbNoOfThreads" HorizontalAlignment="Stretch" Height="23" Margin="91.442,53,37,0" TextWrapping="Wrap" Text="20" VerticalAlignment="Top" Grid.Column="2"/>
        <Label x:Name="label" Content="No of processes" HorizontalAlignment="Left" Margin="43,53,0,0" VerticalAlignment="Top" Width="150" Grid.ColumnSpan="3"/>
        <TextBox x:Name="tbUrl" HorizontalAlignment="Stretch" ScrollViewer.CanContentScroll="True" ScrollViewer.HorizontalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollBarVisibility="Visible" Height="48" Margin="35,0,37,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Grid.Column="1" Grid.ColumnSpan="2"/>
        <Label x:Name="label_Copy" Content="Urls" HorizontalAlignment="Left" Margin="43,0,0,0" VerticalAlignment="Top" Grid.ColumnSpan="2"/>
        <ComboBox x:Name="cbSortOrder" HorizontalAlignment="Stretch" Margin="91,104,37,0" VerticalAlignment="Top" Grid.Column="2"/>
        <Label x:Name="label_Copy1" Content="Sort result order" HorizontalAlignment="Left" Margin="43,100,0,0" VerticalAlignment="Top" Grid.ColumnSpan="3" Width="150"/>


    </Grid>
</Window>
